package com.company.cloud.tenant.modules.api.request;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Getter
@Setter
public class TenantCheckRequest extends BaseParam {

    @ApiModelProperty(value = "公司编号",required = true)
    @NotEmpty(message = "公司编号不能为空")
    private String companyNo;

    @ApiModelProperty(value = "状态[CompanyState]",required = true)
    @NotEmpty(message = "状态不能为空")
    private String state ;

    @ApiModelProperty(value = "审核备注")
    private String checkRemark;

    @ApiModelProperty(value = "开通时间(yyyy-mm-dd)")
    private String openTime;

    @ApiModelProperty(value = "使用时间(天数)",required = true)
    @NotNull(message = "使用时间(天数)不能为空")
    private Integer useDay=30;

    @ApiModelProperty(value = "使用用户人数")
    private Integer useUserNum;

    @ApiModelProperty(value = "开通服务",required = true)
    @NotNull(message = "开通服务不能为空")
    private List<TenantOpenServiceItem> openItems;

    @ApiModelProperty(value = "操作人用户ID")
    private Integer opUserId;

    @ApiModelProperty(value = "操作人操作IP")
    private String opIp;


}
